<%-- 
    Document   : adrs_alterar_login
    Created on : 02/02/2011, 22:26:44
    Author     : Caio
--%>
<%@page import="br.ufc.quixada.adrs.model.Supervisor"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.*" %>
<%@page import="br.ufc.quixada.adrs.model.Adrs" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<link rel="stylesheet" type="text/css" href="../css/style.css"/>
<link rel="stylesheet" type="text/css" href="css/stylePrint.css" media="print"/>
<%@include file="supervisor_seguranca.jsp"%>
<html>
    <%
                Supervisor supervisor = (Supervisor) session.getAttribute("user");
                String login = "";
                if (supervisor != null) {
                    login = supervisor.getUsuario().getLogin();
                }
    %>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Sistema ADRS - Módulo Supervisor</title>
    </head>
    <body>
        <%@include file="../imagemBB.jsp" %>
        <h1>Sistema ADRS - Módulo Supervisor</h1>
        <%@include file="supervisor_menu_um.jsp" %>
        <div id="content">
            <h2 class="titulo">Alterar Informações de Login</h2>
            <form id="editarLoginADRS" action="../ServletCentral?comando=CmdSupervisorAlterarLogin&concluded=true" method="post" class="cadastro">
                <%@include file="/error.jsp"%>
                <fieldset>
                    <label>Digite a senha antiga *:</label><br />
                    <input maxlength="30" type="password" name="senhaAntiga" value="" size="50"/><br /><br/>
                    <label>Novo Login *:</label><br />
                    <input maxlength="30" type="text" name="login" value="<%=login%>" size="50"/><br />
                    <label>Nova Senha *:</label><br/><label style="font-size: 8pt; color: gray; font-style: normal;">Tamanho mínimo de 6 caracteres.</label><br />
                    <input maxlength="30" type="password" name="senha" value="" size="50"/><br />
                    <label>Confirme a nova senha *:</label><br />
                    <input maxlength="30" type="password" name="confSenha" value="" size="50"/><br />
                </fieldset>
                <label style="color: red; font-size: 12px">(*) = Campo Obrigatório</label><br /><br />
                <input type="submit" title="Atualizar Login" value="Enviar" class="button" onclick="" />
                <a href="supervisor_index.jsp" title="Cancelar" class="button2">Cancelar</a>
            </form>
        </div>
        <%@include file="../footer.jsp" %>
    </body>
</html>